package com.aistar.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CommonController {

    @RequestMapping("/")
    public String toindex(){
        return "index";
    }

    @RequestMapping("/index")
    public String toIndex(){
        return "index";
    }

    @RequestMapping("/login")
    public String toLogin(){
        return "/customer/login";
    }

    @RequestMapping("/regist")
    public String toRegist(){
        return "/customer/register";
    }

    @RequestMapping("/job_all")
    public String toJobAll(){
        return "/job/job_all";
    }
    @RequestMapping("/resumeadd")
    public String toResumeAdd(){
        return "/resume/add";
    }
}
